home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 1
/
Merciful - Disc 1.iso
/
software
/
d
/
devpak
/
devpakv3.01kickstartv1.3b.dms
/
devpakv3.01kickstartv1.3b.adf
/
arp
/
prodocs
/
FindCLI
< prev
next >
Wrap
Text File
|
1991-11-20
|
1KB
|
67 lines
FindCLI(31.0) ARP Programmers Manual FindCLI(31.0)
NAME
FindCLI - Get process struct for CLI number
SYNOPSIS
Process = FindCLI(tasknum)
d0 d0
FUNCTION
This function takes a CLI task number (such as given to
programs like Status and Break) and returns a pointer to the
process structure base, or ZERO if there is no CLI
corresponding to that number. If called with the special
CLI number ZERO, the maximum possible number of CLI
processes is returned.
INPUTS
tasknum -The CLI task number for the process, or special
case ZERO, which returns the total number of process
slots.
RESULT
Process - A process structure, or NULL. If called with
tasknum = 0, the total number of allowable CLI
processes is returned.
ADDITIONAL CONSIDERATIONS
This function does not Forbid() or do any locking on its
own. You must call this function only while your own code
is running between Forbid() Permit() pairs.
BUGS
None known.
AUTHOR
SDB
Page 1 (printed 2/22/88)